package cn.toys.modular.mapper;

import cn.toys.modular.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 产品表 Mapper 接口
 * </p>
 *
 * @author toys
 * @since 2021-02-26
 */
public interface ProductMapper extends BaseMapper<Product>{

    Page<Map<String, Object>> selectProducts(@Param("page") Page page, @Param("condition") String condition);
}
